package com.server.questionbank.snframe.util.FileUtil.common.constant;

/**
 * 分片常量定义
 */
public final class MultipartConstants {
    private MultipartConstants() {}
    
    /** 默认分片大小: 5MB */
    public static final int DEFAULT_CHUNK_SIZE = 5 * 1024 * 1024;
    
    /** 最小分片大小: 5MB */
    public static final int MIN_CHUNK_SIZE = 5 * 1024 * 1024;
    
    /** 最大分片大小: 5GB */
    public static final int MAX_CHUNK_SIZE = 5 * 1024 * 1024 * 1024;
    
    /** 默认缓冲区大小: 8KB */
    public static final int DEFAULT_BUFFER_SIZE = 8 * 1024;
} 